/**
 * 通用样式类
 * 用于统一组件样式，保持视觉一致性
 */

/* 统一卡片样式 - 南昌旅游特色 */
.unified-card {
  border-radius: 12px;
  border: 1px solid rgba(200, 16, 46, 0.1);
  box-shadow: 0 2px 12px rgba(200, 16, 46, 0.08);
  transition: all 0.3s ease;
  margin-bottom: 20px;
  background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(227,242,253,0.8) 100%);
  backdrop-filter: blur(10px);
}

.unified-card:hover {
  box-shadow: 0 8px 24px rgba(200, 16, 46, 0.16);
  transform: translateY(-2px);
  border-color: rgba(212, 175, 55, 0.3);
}

/* 响应式卡片 */
@media (max-width: 768px) {
  .unified-card {
    border-radius: 8px;
    margin-bottom: 15px;
  }
}

/* 统一按钮样式 - 南昌旅游特色 */
.unified-button {
  border-radius: 8px;
  transition: all 0.3s ease;
}

.unified-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(200, 16, 46, 0.2);
}

/* 主按钮主题色 */
.unified-button-primary {
  background: linear-gradient(135deg, #C8102E 0%, #D4AF37 100%);
  border: none;
  color: white;
}

.unified-button-primary:hover {
  background: linear-gradient(135deg, #D91E36 0%, #E6C866 100%);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

/* 统一输入框样式 */
.unified-input {
  border-radius: 8px;
}

/* 统一标签样式 */
.unified-tag {
  border-radius: 6px;
  padding: 4px 12px;
}

/* 统一间距 */
.unified-spacing {
  margin-bottom: 20px;
}

.unified-spacing-small {
  margin-bottom: 10px;
}

.unified-spacing-large {
  margin-bottom: 30px;
}

/* 统一文本样式 */
.unified-title {
  font-size: 24px;
  font-weight: 600;
  color: #303133;
  margin-bottom: 16px;
}

.unified-subtitle {
  font-size: 16px;
  color: #909399;
  margin-bottom: 12px;
}

.unified-text {
  font-size: 14px;
  color: #606266;
  line-height: 1.6;
}

/* 响应式文本 */
@media (max-width: 768px) {
  .unified-title {
    font-size: 20px;
    margin-bottom: 12px;
  }
  
  .unified-subtitle {
    font-size: 14px;
    margin-bottom: 10px;
  }
  
  .unified-text {
    font-size: 13px;
  }
}

/* 统一加载状态 */
.unified-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
}

/* 统一空状态 */
.unified-empty {
  text-align: center;
  padding: 40px 20px;
  color: #909399;
}

/* 统一错误状态 */
.unified-error {
  color: #f56c6c;
  background-color: #fef0f0;
  border: 1px solid #fbc4c4;
  border-radius: 4px;
  padding: 12px;
  margin-bottom: 16px;
}

/* 统一成功状态 */
.unified-success {
  color: #67c23a;
  background-color: #f0f9ff;
  border: 1px solid #b3e19d;
  border-radius: 4px;
  padding: 12px;
  margin-bottom: 16px;
}

/* 统一警告状态 */
.unified-warning {
  color: #e6a23c;
  background-color: #fdf6ec;
  border: 1px solid #f5dab1;
  border-radius: 4px;
  padding: 12px;
  margin-bottom: 16px;
}

/* 统一信息状态 */
.unified-info {
  color: #909399;
  background-color: #f4f4f5;
  border: 1px solid #d3d4d6;
  border-radius: 4px;
  padding: 12px;
  margin-bottom: 16px;
}

/* 图片错误占位符 */
.image-error-slot {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background-color: #f5f7fa;
  color: #909399;
  font-size: 14px;
  min-height: 200px;
}

.image-error-slot .el-icon {
  font-size: 48px;
  margin-bottom: 8px;
}

/* 响应式工具类 */
@media (max-width: 768px) {
  .mobile-hidden {
    display: none !important;
  }
  
  .mobile-full-width {
    width: 100% !important;
  }
  
  .mobile-center {
    text-align: center !important;
  }
}

@media (min-width: 769px) {
  .desktop-hidden {
    display: none !important;
  }
}

/* 统一动画 */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeIn 0.5s ease-in;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.slide-in {
  animation: slideIn 0.3s ease-out;
}

/* 统一渐变背景 - 南昌旅游特色 */
.gradient-bg {
  background: linear-gradient(135deg, #E3F2FD 0%, #BBDEFB 50%, #90CAF9 100%);
}

.gradient-bg-primary {
  /* 南昌红到滕王阁金渐变 */
  background: linear-gradient(135deg, #C8102E 0%, #D4AF37 100%);
}

.gradient-bg-success {
  background: linear-gradient(135deg, #84fab0 0%, #8fd3f4 100%);
}

/* 统一阴影 */
.shadow-sm {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.shadow-md {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.shadow-lg {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.shadow-xl {
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

/* 统一圆角 */
.rounded-sm {
  border-radius: 4px;
}

.rounded-md {
  border-radius: 8px;
}

.rounded-lg {
  border-radius: 12px;
}

.rounded-xl {
  border-radius: 16px;
}

.rounded-full {
  border-radius: 9999px;
}


